package com.cn.common;

import java.util.ArrayList;
import java.util.List;

public class TopicStore {

    private static List<String> topic_list = new ArrayList<>();

    public static void put(String topic) {
        topic_list.add(topic);
    }

    public static List<String> getAll() {
        return topic_list;
    }

    public static void clean() {
        topic_list.clear();
    }

}
